<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ taglib prefix="sales" tagdir="/WEB-INF/tags/sales"%>
<%@ taglib prefix="catalog" tagdir="/WEB-INF/tags/catalog"%>
<%@ taglib prefix="content" tagdir="/WEB-INF/tags/content"%>
<html>
	<meta name="keywords"	content="${appConfig.storeKeyWords}" />
	<meta name="description" content="${appConfig.storeDescription}" />
	<body>
		<div class="main_wrap clearfix">
		<div class="main wrap1000">
			<div class="focus_area_01 clearfix" id="midBarAd">
				<div >
					<ul class="bigImg">
					<content:getAdvertisement positionCode="midBar" >
						 <%@ include file="../pages/advertisement/adView.jsp"%>
					</content:getAdvertisement>	
					</ul>
					<a class="prev"></a>
					<a class="next"></a>
				</div>
			</div>
			<div class="roll" id="newsTxt">
				<span class="news">NEWS</span>
				<ul class="txt">
				  	<content:contentList returnContentCategoryName="newsCategory" returnContentListName="newsList" categoryCode="kueirh" maxResults="3">
						<c:forEach items="${newsList}" var="news">
						<li><a href="<content:contentUrl content="${news}" />" target="_blank">${news.contentTitle}</a></li>
						</c:forEach>
					</content:contentList>
				</ul>
				<a class="prev"></a>
				<a class="next"></a>
			</div>
			<div class="index_product clearfix">
				<catalog:getProductCategory returnCategoryName="productCatelog" categoryCode="mbqgrq">
					<ul>
						<c:forEach items="${productCatelog.children}" var="children" varStatus="idx">
							<c:if test="${children.status eq 1}">
								<li <c:if test="${idx.last}">class='last'</c:if>>
									<a href="<catalog:productCategoryUrl categoryId="${children.categoryId}" />">
										<img src="${mediaPath}${children.imageUrl}" width="190" height="250" onerror="this.onerror='';this.src=__defaultImage;"/>
										<p>${children.categoryName}</p>
									</a>
								</li>
							</c:if>
						</c:forEach>
					</ul>
				</catalog:getProductCategory>
			</div>
		</div>
	</div>                      
	</body>
</html>